-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpc: skip bootstrap nodes that are lower than last checkpoint #8519
Conversation
928bb44
to
8f944ab
Compare
Hmm, I don't see "50" anywhere in this code. |
hmm, messed something up in git, will update |
8f944ab
to
07fcb59
Compare
07fcb59
to
8702dca
Compare
Verified that it initializes correctly, and tested on mainnet, testnet and stagenet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reference to checkpoints object should be const
since there's no good reason to modify your checkpoints at runtime
8702dca
to
7dcc89a
Compare
@jeffro256 thanks, totally forgot to make it const |
7dcc89a
to
2639c4f
Compare
Updated, with #8544 it isn't necessary anymore to set a custom fail points. This also makes the diff smaller. |
Also outdated nodes now get 50 fail points instead of 2.Not necessary anymore with #8544.